<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: QianJun_Luo
  Date: 2021/11/11
  Time: 16:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <script type="text/javascript" src="allstu.js"></script>
    <title>显示所有国家信息</title>
    <link rel="stylesheet" type="text/css" href="allstu.css">
    <style>
        input[type=submit] {
            width: 98%;
            background-color: rgba(153, 153, 153, 0.1);
            color: white;
            height: 50px;
            /*padding: 14px 20px;*/
            /*margin: 8px 0;*/
            /*margin-left: 30%;*/
            /*border: solid;*/
            /*border-radius: 4px;*/
            /*cursor: pointer;*/
            /*border-color: red;*/
        }

        input[type=submit]:hover {
            background-color: rgba(189, 189, 189, 0.2);
        }





        h1{
            text-align: center;
            color: rgb(215,253,249);
        }
        body{
            background-color: rgb(255,157,168);//#cecece;
        }
        .change{
            /*color: rgb(215,253,249);*/
            /*text-decoration: none;*/
            background-color: rgba(0,0,0,0.01);
        }
        table{
            /*border: solid;*/
            /*solid-color: red;*/
        }
        tr{

        }
        td{
            background-color:rgba(232,229,238,0.5);
            /*margin: 100px 5px ;*/
            width: 160px;
            text-align: center;
        }
        /*input[type="checkbox"]{*/
        /*    background-color: red;*/
        /*}*/
        input[type="text"]{
            background: rgba(0,0,0,0.01);
            text-align: center;
        }
    </style>
</head>

<body>
<table class="hoverable" align="center">
    <tr>
<%--        <td><input type="checkbox" onclick="allcheck(this);"style="background-color: yellow"></td>--%>
        <td>国家编号</td>
        <td>疫苗编号</td>
        <td>接种人数</td>
        <td>isdelete</td>
        <td></td>
<%--        <td><input type="button"value="批量删除" style="width: 100px"class="change" onclick="delall();"></td>--%>
    </tr>
    <c:forEach var="c_v" items="${allC_V}">
        <tr>
            <td>${c_v.country_id}</td>
            <td>${c_v.vac_id}</td>
            <td>${c_v.vac_over_num}</td>
            <td>${c_v.isdelete}</td>
            <td>
                <input type="button" value="修改" onClick="location.href='/c_v/toUpdateInfoC_V?country_id=${c_v.country_id}&vac_id=${c_v.vac_id}'"class="change"/>
                <input type="button" value="删除" onClick="location.href='/c_v/deleteC_V?country_id=${c_v.country_id}&vac_id=${c_v.vac_id}'"class="change"/>
            </td>
        </tr>
    </c:forEach>
</table>
</body>
</html>

